package com.book.service;

import com.book.dao.BookAndStudentMapper;
import com.book.entity.BookAndStudent;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by 落叶的思恋 on 2017/6/13.
 */
@Service("BookAndStudentService")
public class BookAndStudentServiceImp implements  BookAndStudentService {
    @Autowired
    BookAndStudentMapper bookAndStudentMapper;

    @Override
    public int insert(BookAndStudent record) {
        return bookAndStudentMapper.insert(record);
    }
}
